package com.bdqn.t296.noso.service.Imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.t296.noso.entity.Paiban;
import com.bdqn.t296.noso.mapper.PaibanMapper;
import com.bdqn.t296.noso.service.PaibanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PaibanServiceImp extends ServiceImpl<PaibanMapper, Paiban> implements PaibanService {
    @Resource
    PaibanMapper paibanMapper;

    @Override
    public List<Paiban> likeSel(String doctorName){return paibanMapper.likeSel(doctorName);}

    @Override
    public int del(Integer doctorId1) {
        return paibanMapper.del(doctorId1);
    }
}
